
// 标签下的人员
import { request, API_URL } from './request'

// 条件特征
export const traitQueryEMP = (deta) => {
  return request.post(`${API_URL}/hrplat/talentpool/rest/label/emp`, deta)
}

// 获取特征弹窗数据的接口
export const traitGetTree = (deta) => {
  return request.get(`${API_URL}/hrplat/talentpool/rest/label/tree`)
}

// 根据关键词模糊查询所有标签
export const raitLabelList = (labelName) => {
  return request.get(`${API_URL}/hrplat/talentpool/rest/label/list?labelName=${labelName}`)
}

// 修改员工标签
export const raitEMPEdit = (data) => {
  return request.post(`${API_URL}/hrplat/talentpool/rest/label/emp/edit`, data)
}

// 导出
export const raitExport = (data) => {
  return request.post(`${API_URL}/hrplat/talentpool/rest/label/emp/export`, data)
}
